import instance from "./axios/requers";
//获取管理员信息接口
export function getAdminList(){
    return instance.get('admin/admin/list')
}
//添加管理员信息接口
interface IAdmin{
    adminname:string
    password:string
    role:string,
    checkedKeys:string[]
}
export function addAdmin(data:IAdmin){
    return instance.post('admin/admin/add',data)
}

